package com.itheima.Service;

import com.itheima.dao.ReadStudent;
import com.itheima.domain.Student;

import java.io.IOException;
import java.util.ArrayList;

public class LookService {


    public static ArrayList<Student> lookStudent() {

        ArrayList<Student> list= null;
        try {
            list = ReadStudent.lookStudent();
        } catch (IOException e) {
            e.printStackTrace();
        }
        return list;
    }
}
